home *** CD-ROM | disk | FTP | other *** search
/ Aminet 40 / Aminet 40 (2000)(Schatztruhe)[!][Dec 2000].iso / Aminet / dev / lang / Python16_Src.lha / Python16_Source / CHANGES.SOURCE < prev    next >
Encoding:
Text File  |  2000-10-03  |  6.4 KB  |  208 lines

  1. Changes to the original 1.6 source code distribution:
  2. -------------------------------------------------------
  3.  
  4. General:
  5.  
  6. At different places I've added, removed or changed some code.
  7. I tried to do this by using the preprocessor symbols:
  8. _AMIGA : Defined when compiling on Amiga.
  9.          Indicates Amiga specific code.
  10. __SASC : Defined when compiling with the SAS/C compiler.
  11.          Indicates SAS/C specific code.
  12. AMITCP : Defined when using AmiTCP as networking software.
  13.          Indicates AmiTCP specific code, but maybe this
  14.          is easily converted to, say, Inet.
  15. INET225: Defined when using INET-225 as networking software.
  16.  
  17.  
  18. Added subdir Amiga_Misc with:
  19.     README                  - small describing text
  20.     mkdiffs.py              - makes diffs against original distribution
  21.     Diffs/                  - output dir for mkdiff.py
  22.     make_gst.c              - for building the GST
  23.     Python_netlib/          - contains source for python_net.lib
  24.     python_net.lib          - custom version of AmiTCP's net.lib,
  25.                   including some additional code like custom
  26.                   WB startup, environment functions etc.
  27.     DISCL_and_COPYRIGHT     - my disclaimer & CWI's copyright message
  28.     testset/                - additional tests for Amiga modules
  29.     unused/                 - currently unused stuff
  30.     Docs/                   - Amiga docs for distribution
  31.  
  32.  
  33. - Supplied custom makefile for Amiga's SAS/C: SMAKEFILE.
  34.   Supplied SAS/C compiler options file: SCOPTIONS.
  35.   You don't need any of the original makefiles (just delete them if you like).
  36.   (new since 1.5: SMAKEFILE splitted, one for each main directory)
  37.  
  38. - Added Prototype files for many source files.
  39.   See `protos' directories in: Modules, Objects, Parser, Python.
  40.  
  41. - Created Include/config.h
  42. - Created Include/protos.h
  43. - Created Modules/config.c
  44. - Created Modules/environment.c
  45. - Created Modules/amigamodule.c
  46. - Created Modules/ARexxmodule.c
  47. - Created Modules/Doslibmodule.c
  48.  
  49.  
  50. Include/Python.h:
  51.     - added #include "protos.h"
  52.     - added #include <fcntl.h>
  53.  
  54. Include/mymath.h:
  55.     - added SAS/C math includes
  56.  
  57. Include/osdefs.h:
  58.     - added AMIGA specific #defines
  59.  
  60. Include/myselect.h:
  61.     - added #include <proto/socket.h> for AMITCP/INET
  62.  
  63. Include/compile.h:
  64.     - removed _node decl for SAS/C
  65.  
  66. Include/bitset.h:
  67.     - replaced BYTE def on _AMIGA with #include <exec/types.h>
  68.  
  69. Include/Import.h:
  70.     - fixed proto for initfunc
  71.  
  72. Include/cStringIO.h:
  73.     - added prototype for xxxPyCObject_Import
  74. Include/Object.h:
  75.     - fixed proto for _PyTrash_destroy_chain
  76.  
  77. Parser/intrcheck.c:
  78.     - Added test for AMIGA for intcatcher prototype
  79.     - Added #include for fcntl.h
  80.     - Added SAS/C specific ^C handling
  81.  
  82. Objects/longobject.c: (line 1787)
  83.     - changed sizeof(PyLongObject) to sizeof(struct _longobject) because of
  84.       illegal sizeof expression (?)
  85.  
  86. Objects/classobject.c:
  87.     - added prototyped version of UNARY macro
  88.  
  89. Objects/unicodectype.c:
  90.     - added check for __SASC at BREAK_SWITCH_UP to break the huge switch
  91.       into multiple blocks, to make it easier for the compiler.
  92.  
  93. Python/pythonrun.c:
  94.     - Added proto for exitfuncs
  95.     - Fixed proto for _PyUnicode_Init, _PyUnicode_Fini,
  96.         _PyCodecRegistry_Init, _PyCodecRegistry_Fini
  97.  
  98. Python/getargs.c:
  99.     - Added #include <limits.h>
  100.  
  101. Python/sysmodule.c:
  102.     - Added code for absolute path check in PySys_SetArgv
  103.  
  104. Python/import.c:
  105.     - Fixed path building in find_module, now uses dos.library/AddPart
  106.     - Added Amiga version of check_case: now the imports are case sensitive
  107.  
  108. Python/pythonrun.c:
  109.     - Case insensive filename match for .pyc and .pyo
  110.  
  111. Python/sigcheck.c:
  112.     - Added stack checking code
  113.  
  114. Modules/mathmodule.c:
  115.     - added prototyped versions of function macros, and for SAS/C,
  116.       versions which call the math functions directly. Calling them
  117.       through a function pointer (the default) results in bigger code
  118.       and rounding errors (!?)
  119.  
  120. Modules/socketmodule.c: 
  121.     - added check(s) for _AMIGA
  122.     - Added AMITCP/INET includes
  123.     - Added a couple of #defines for AMITCP/INET API
  124.     - Changed use of fcntl to IoctlSocket (for s.setblocking)
  125.     - Clear socket buffer for new socket (PySocketSock_New)
  126.  
  127. Modules/main.c:
  128.     - Changed <prefix>/python1.5 to <prefix>/python1.6
  129.     - Added AmiTCP/INET init & cleanup functions to Modules/main.c
  130.         (checkXXXXlib functions)
  131.  
  132. Modules/binascii.c:
  133.     - fixed unsigned char bytes
  134.  
  135. Modules/getpath.c:
  136.     - changed VERSION to 1.6
  137.     - changed #if to #ifdef
  138.     - added Amiga version of PYTHONPATH #define
  139.     - added Amiga versions for getting full path of executable,
  140.       reduce, checking if path is relative, ...
  141.  
  142. Modules/md5c.c:
  143.     - added lines to use regular memcpy and memset on AMIGA
  144.  
  145. Modules/selectmodule.c:
  146.     - Added Amiga's version of select funcion (with optional 5th parameter)
  147.  
  148. Modules/timemodule.c:
  149.     - fixed proto for floattime()
  150.     - added code for floatsleep() (uses select() if available)
  151.  
  152. Modules/cmathmodule.c:
  153.     - added function definition macros with prototypes
  154.  
  155. Modules/cryptmodule.c:
  156.     - added AMITCP/INET includes
  157.  
  158. Modules/grpmodule.c:
  159.     - added AMITCP/INET includes
  160.     - added AMITCP/INET code changes
  161.  
  162. Modules/pwdmodule.c:
  163.     - added AMITCP/INET includes
  164.     - added AMITCP/INET code changes
  165.  
  166. Modules/syslogmodule.c:
  167.     - added AMITCP/INET includes
  168.     - added AMITCP/INET code changes
  169.  
  170. Modules/cPickle.c:
  171.     - fixed proto for put2 & save
  172.     - added proto for write_func in Picklerobject
  173.     - added proto for read_func and readline_func in Unpicklerobject
  174.  
  175. Modules/operator.c:
  176.     - added function def macros with prototypes
  177.  
  178. Modules/getbuildinfo.c:
  179.     - added proto for Py_GetBuildInfo
  180.     - Added Amiga version string ($VER)
  181.  
  182. Modules/unicodedata.c:
  183.     - Added amiga specific code to initialize the unicode database.
  184.  
  185. Modules/unicodedatabase.c:
  186.     - Removed, replaced with an Amiga specific version
  187.       ("amigaunicodedatabase.c") that reads the database from disk files.
  188.       This is done because the original file is too large to compile and
  189.       the dynamic data loading saves memory.
  190.  
  191. - Changes to library files in Lib drawer. These changes are also documented
  192.   in the README file. Files involved:
  193.     os.py           (amiga additions)
  194.     tempfile.py     (temp path try order is: T:, :T, SYS:T)
  195.     posixpath.py    (stub for old posixpath.py)
  196.     amigapath.py    (amiga's replacement for posixpath.py)
  197.     site.py        (exit string for Amiga)
  198.  
  199. - Added Lib/plat-amiga directory with files.
  200.  
  201. - Created Lib/lib-dynload directory to fix sys.exec_prefix behavior.
  202.  
  203. - Moved some unneeded files from parser to Parser/NON-AMIGA,
  204.   from Modules to Modules/NON-AMIGA, from Lib to Lib/NON-AMIGA,
  205.   and from Python to Python/NON-AMIGA.
  206.   (these files are not included in the source archive for space reasons)
  207.  
  208.